import { request } from '@/utils/request'

export const loginApi = (data) =>
  request({
    url: `/login/identifier`,
    method: 'POST',
    data,
    header: {
      'content-type': 'application/x-www-form-urlencoded; charset=UTF-8'
    }
  })
export const phoneLoginApi = (data) =>
  request({
    url: `/login/free/phone`,
    method: 'POST',
    data
  })
